package com.mano233.server.mapper;

import com.mano233.server.po.Events;
import com.mano233.server.po.Form;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EventsMapperCustom {
    List<Events> getAdminEvents(@Param("adminId") int adminId);

    List<Form> getAllForm(int eid);

    void updateEventState(@Param("eventId") int eventId, @Param("state") int state);

    void updateEvents(Events events);
}
